<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>上传</title>
    <link href="static/tooltip.css" rel="stylesheet" type="text/css"/>
    <style>
        .aside{text-align:center; background: #1f8dd6; height: 100px; color: #fff; vertical-align: middle;line-height:100px;font-size: 30px}
        #main{margin-top: 20px;}
        .pure-item{ margin: 0 auto 10px; width: 265px; position: relative;}
        .pure-item:after{ content: ""; display: table; clear: both;}
        .pure-item label{ float: left; line-height: 34px;}
        .pure-item input{ float: right;}
        .terminal {
            border: #000 solid 5px;
            font-family: "Monaco", "DejaVu Sans Mono", "Liberation Mono", monospace;
            font-size: 11px;
            color: #f0f0f0;
            background: #000;
            width: 600px;
            box-shadow: rgba(0, 0, 0, 0.8) 2px 2px 20px;
        }

    </style>
</head>
<header id="head" class="aside">上传测试</header>
<body>
<div id="main" align="center">
    <table>
        <tbody>
        <tr>
            {% for obj in objects %}
            <td><a href="/download/{{ pool }}/{{ obj }}/">{{ obj }}</a></td>
            {% end %}
        </tr>
        </tbody>
    </table>
    <form id="form" name="form" action="/file/" enctype="multipart/form-data" method="post" class="pure-form pure-form-stacked">
        <input type="file" name="file">
        <input type="hidden" name="pool" value="{{ pool }}">
        <input type="submit" value="提交">
    </form>
</div>
<div id="term" align="center"></div>
<script src="static/jquery.min.js"></script>
<script src="static/ws.js"></script>
<script src="static/term.js"></script>
<script src="static/formvalid.js"></script>
<script type="application/javascript">
</script>
</body>
</html>